package com.first.group.authserver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 
 * 
 * @author zy
 * @email 2067065884@qq.com
 * @date 2021-10-21 18:45:51
 */
@Data
@TableName("uf_address")
public class AddressEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long addressId;
	/**
	 * 
	 */
	private Long addressParentId;
	/**
	 * 
	 */
	private String addressName;

	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	@TableField(exist = false)
	private List<AddressEntity> children;


}
